<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
function saveRecord(){
	if (!validate()){
		return;
	}
	showSplash();
	postRequest('form1',{actionType:'save',showSplash:true,onComplete:function(responseText){
		hideSplash();
		if (responseText == 'success'){
			hideSplash();
			parent.PopupBox.closeCurrent();
			parent.refreshPage();
		}
	}});
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
   <!-- <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="enableSave()" ><input value="&nbsp;" type="button" class="editImgBtn" id="modifyImgBtn" title="编辑" />编辑</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="saveRecord()"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="parent.PopupBox.closeCurrent();"><input value="&nbsp;" type="button" class="closeImgBtn" title="关闭" />关闭</td> -->
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
  <th nowrap>操作人</th>
  <td><input id="TDO_HANDLER2" label="TDO_HANDLER" name="TDO_HANDLER2" type="text" value="<%=pageBean.inputValue("TDO_SUBMITTER_NAME")%>" size="18" class="text" /></td>
  <th>操作时间</th>
  <td><input id="TDO_SUBMI_TTIME" label="TDO_SUBMI_TTIME" name="TDO_SUBMI_TTIME" type="text" value="<%=pageBean.inputTime("TDO_SUBMI_TTIME")%>" size="18" class="text" /></td>
</tr>
<tr>
	<th width="100" nowrap>处理人</th>
	<td><!-- <img id="TDO_HANDLER_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" /> -->
	  <input id="TDO_HANDLER_NAME" label="TDO_HANDLER" name="TDO_HANDLER" type="text" value="<%=pageBean.inputValue("TDO_HANDLER_NAME")%>" size="18" class="text" /></td>
	<th>处理时间</th>
	<td><input id="TDO_HANDLER_TIME" label="TDO_HANDLER_TIME" name="TDO_HANDLER_TIME" type="text" value="<%=pageBean.inputTime("TDO_HANDLER_TIME")%>" size="18" class="text" /></td>
</tr>
<tr>
	<th width="100" nowrap>操作类型</th>
	<td><input id="TDO_STATE" label="TDO_STATE" name="TDO_STATE" type="text" value="<%=pageBean.inputValue("TDO_STATE_NAME")%>" size="18" class="text" />
</td>
	<th>&nbsp;</th>
	<td>&nbsp;</td>
</tr>
<tr>
	<th width="100" nowrap>操作描述</th>
	<td colspan="3"> <textarea id="TDO_CONTENT" label="操作描述" name="TDO_CONTENT" cols="80" rows="4" class="textarea"><%=pageBean.inputValue("TDO_CONTENT")%></textarea>
</td>
</tr>
</table>
<input type="hidden" name="actionType" id="actionType" value=""/>
<input type="hidden" name="operaType" id="operaType" value="<%=pageBean.getOperaType()%>"/>
<input type="hidden" id="TDO_ID" name="TDO_ID" value="<%=pageBean.inputValue4DetailOrUpdate("TDO_ID","")%>" />
<input type="hidden" id="TPD_ID" name="TPD_ID" value="<%=pageBean.inputValue("TPD_ID")%>" />
<input type="hidden" id="TDO_SUBMITTER" name="TDO_SUBMITTER" value="<%=pageBean.inputValue("TDO_SUBMITTER")%>" />
</form>
<!-- <script language="javascript">
initCalendar('TDO_SUBMI_TTIME','%Y-%m-%d %H:%M','TDO_SUBMI_TTIMEPicker');
initCalendar('TDO_HANDLER_TIME','%Y-%m-%d %H:%M','TDO_HANDLER_TIMEPicker');
datetimeValidators[0].set("yyyy-MM-dd HH:mm").add("TDO_SUBMI_TTIME");
datetimeValidators[1].set("yyyy-MM-dd HH:mm").add("TDO_HANDLER_TIME"); -->
initDetailOpertionImage();
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
